clear
PS3='选择你要下载的版本或者选项： '
neihe=("Quit" "geyser" )
select fav in "${neihe[@]}"; do
  case $fav in
    "Quit")
      echo "已退出"
	    exit
	    ;;
    "geyser")
      cd ..
      cd ./server/plugins
      wget https://ci.opencollab.dev/job/GeyserMC/job/Floodgate/job/master/lastSuccessfulBuild/artifact/spigot/build/libs/floodgate-spigot.jar
      wget https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/master/lastSuccessfulBuild/artifact/bootstrap/spigot/build/libs/Geyser-Spigot.jar
      cd ..
      cd ../cd
      ;;
    "")







    *)
      echo "你输入错了！ $REPLY";;
  esac
done
